#ifndef __LINKSTACK_H_
#define __LINKSTACK_H_
#include"DoubleLinkList.h"
struct LinkStack
{
    DLlist stack;
    ElementType TopData;
};
typedef struct LinkStack LStack;

int InitLinkStack(LStack *s);
struct Node *GetTop(LStack *s);
void Push(LStack *s,ElementType element);
ElementType *Pop(LStack *s);
void FreeStack(LStack *s);

#endif